package com.study_online.domain;/*
    张昊（java文件）
    回复内容实体类
*/

public class CommentBelonging {
    private int commentBId;
    private int commentId;
    private int userId;//user_id
    private String text;//评论内容
    private String updataTime;//修改时间
    private String addTime;//添加时间

    public CommentBelonging() {
    }

    public CommentBelonging(int commentBId, int commentId, int userId, String text, String updataTime, String addTime) {
        this.commentBId= commentBId;
        this.commentId = commentId;
        this.userId = userId;
        this.text = text;
        this.updataTime = updataTime;
        this.addTime = addTime;
    }

    public int getCommentBId() {
        return commentBId;
    }

    public void setCommentBId(int commentBId) {
        this.commentBId = commentBId;
    }

    public int getComment_id() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUpdataTime() {
        return updataTime;
    }

    public void setUpdataTime(String updataTime) {
        this.updataTime = updataTime;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    @Override
    public String toString() {
        return "CommentBelonging{" +
                "comment_b_id=" + commentBId +
                ", comment_id=" + commentId +
                ", userId=" + userId +
                ", text='" + text + '\'' +
                ", updataTime='" + updataTime + '\'' +
                ", addTime='" + addTime + '\'' +
                '}';
    }
}
